package com.sharding.druid.shardinglearn.mapper;

import com.sharding.druid.shardinglearn.entity.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

public interface OrderInfoMapper {
    int deleteByPrimaryKey(Long orderId);

    int insert(OrderInfo record);

    OrderInfo selectByPrimaryKey(Long orderId);

    List<OrderInfo> selectAll();

    int updateByPrimaryKey(OrderInfo record);
}